<?php

/* @var $this \yii\web\View */

/* @var $content string */

use backend\assets\AppAsset;
use yii\helpers\Html;
use yii\helpers\Url;

AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">

<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <?= Html::csrfMetaTags() ?>
    <title><?=getSet(2)?></title>
    <?php $this->head() ?>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <?php if (isset($this->blocks['header'])): ?>
        <?= $this->blocks['header']; ?>
    <?php endif; ?>
</head>
<body>
<?php $this->beginBody() ?>

<?= $content ?>

<?php $this->endBody() ?>
</body>
<?php if (isset($this->blocks['footer'])): ?>
    <?= $this->blocks['footer']; ?>
<?php endif; ?>
<script>
    //layui.config({
    //    base: '<?//=Url::base()?>///resources/' //静态资源所在路径
    //}).extend({
    //    index: 'lib/index' //主入口模块
    //}).use('index');
</script>
</html>
<?php $this->endPage() ?>
